package com.ervanalb.cellradio.shared.communicator;

import com.ervanalb.cellradio.shared.communicator.packets.Packet;

/**
 * Should be used when a class needs a callback for arrival of packets. Used
 * mainly in conjunction with Communicator, in that a Communicator maintains a
 * defaultListener as well as a set of ReplyListeners which are triggered upon
 * reception of a packet.
 * 
 * @author eric
 * @see Communicator
 */
public interface PacketListener {
	public void processPacket(Packet p);
}
